package cn.tuling.service;

import cn.tuling.mybatis.mapper.OrderMapper;
import cn.tuling.mybatis.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    @Autowired
    private OrderMapper orderMapper;

    public void test() {
        System.out.println(userMapper.selectById(1L));
        System.out.println(orderMapper.selectById(1L));
    }
}
